package cn.ddiancan.xddcloud.psc.ding.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 钉钉配置
 *
 * @author Zeki
 */
@ConfigurationProperties(prefix = "xddcloud.psc.dingtalk", ignoreInvalidFields = true)
@Getter
@Setter
public class XddcloudDingTalkProperties {

    /**
     * 应用的AppKey
     */
    private String appKey;

    /**
     * 应用的AppSecret
     */
    private String appSecret;

    /**
     * 机器人code
     */
    private String robotCode = "dingdfiaknnvn1wlwju5";

    /**
     * 提醒方式 1 应用ding，2.短信，3.电话ding
     */
    private Integer remindType = 1;

}
